/*
 * Copyright 2007-2008, www.jsemantic.org, www.adolfoestevez.com,
 * http://semanticj2ee.blogspot.com/ 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jsemantic.support.examples.even;


import java.io.Serializable;

/**
 * The Class Number.
 */
public class Number implements Serializable {
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	/** The number. */
	private Integer number = null;
	
	/** The result. */
	private String result = null;
	
	/**
	 * Gets the number.
	 * 
	 * @return the number
	 */
	public Integer getNumber() {
		return number;
	}
	
	/**
	 * Sets the number.
	 * 
	 * @param number the new number
	 */
	public void setNumber(Integer number) {
		this.number = number;
	}
	
	/**
	 * Gets the result.
	 * 
	 * @return the result
	 */
	public String getResult() {
		return result;
	}
	
	/**
	 * Sets the result.
	 * 
	 * @param result the new result
	 */
	public void setResult(String result) {
		this.result = result;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return "Number: " + number + " is " + result;
	}
}
